package cn.pconline.autoclub.task.util;

public class ApiException extends Exception {
	
	private static final long serialVersionUID = -5421260889868127036L;
	
	private int errorCode;
	
	public ApiException(int errorCode, String msg, Throwable cause){
		super(msg, cause);
		this.errorCode = errorCode;
	}

	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	
	
}
